home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000116_icon-group-sender _Fri May 21 22:17:24 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  1KB

  1. Received: from owl.CS.Arizona.EDU by cheltenham.CS.Arizona.EDU; Wed, 26 May 1993 12:26:56 MST
  2. Received: by owl.cs.arizona.edu; Wed, 26 May 1993 12:26:56 MST
  3. Date: 21 May 93 22:17:24 GMT
  4. From: portal!cup.portal.com!Eric-Amick@uunet.uu.net  (Richard E Amick)
  5. Organization: The Portal System (TM)
  6. Subject: Re: Icon on a mixed-architecture network
  7. Message-Id: <81825@cup.portal.com>
  8. References: <1993May20.134500.4321@mlfarm.com>
  9. Sender: icon-group-request@cs.arizona.edu
  10. To: icon-group@cs.arizona.edu
  11. Status: R
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13.  
  14. >We build Icon programs here with the space-saving Unix header
  15. >
  16. >    #! /usr/local/bin/iconx
  17. >
  18. >at the top of the executable files.  This makes for speedy and compact
  19. >executables, but ignores the ICONX environment variable.  Assuming
  20. >machines on the network have the appropriate Sun3 or Sun4 iconx on
  21. >their PATH, will the same executable run on either system?  I don't
  22. >think there are any byte-swapping nasties between Sun3 and Sun4
  23. >architectures.
  24. Another possibility is to change the Unix header to
  25.  
  26.     exec "${ICONX-iconx}" "$0" "$@"
  27.  
  28. which will use the ICONX variable if it's defined, otherwise it searches
  29. the path.
  30.